/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package hu.kovacsp.scala.discovery.web.snippet

import scala.xml.{NodeSeq,Text}

// Import "bind", "chooseTemplate" and associated implicits
import net.liftweb.util.Helpers._

import net.liftweb.common.{Box,Empty,Full}
import net.liftweb.http.{RequestVar,S,SHtml}
import net.liftweb.sitemap.{Menu,SiteMap}
import net.liftweb.http.js.JsCmds
import net.liftweb.util.Log


class CodeSearch {
  def doSearch(xhtml: NodeSeq): NodeSeq = {

    def search () = {
    }

    bind("searchFor", xhtml,
         //"id" -> SHtml.hidden(() => currentAccountVar(acct)),
         //"searchFor" -> SHtml.text("this is a text"),
         //"description" -> SHtml.text(currentAccount.description.is, currentAccount.description(_)),
         "search" -> SHtml.submit("Search", search))
  }
}
